using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for News
/// </summary>
public class News
{
    private int id;

    public int Id
    {
        get { return id; }
        set { id = value; }
    }
    private string tieuDe;

    public string TieuDe
    {
        get { return tieuDe; }
        set { tieuDe = value; }
    }
    private string noiDung;

    public string NoiDung
    {
        get { return noiDung; }
        set { noiDung = value; }
    }
    private string ngayDang;

    public string NgayDang
    {
        get { return ngayDang; }
        set { ngayDang = value; }
    }
    private string nguoiDang;

    public string NguoiDang
    {
        get { return nguoiDang; }
        set { nguoiDang = value; }
    }
    private string nguon;

    public string Nguon
    {
        get { return nguon; }
        set { nguon = value; }
    }
    private string image1;

    public string Image1
    {
        get { return image1; }
        set { image1 = value; }
    }
    private string image2;

    public string Image2
    {
        get { return image2; }
        set { image2 = value; }
    }
    private string image3;

    public string Image3
    {
        get { return image3; }
        set { image3 = value; }
    }
    private string image4;

    public string Image4
    {
        get { return image4; }
        set { image4 = value; }
    }
    private string image5;

    public string Image5
    {
        get { return image5; }
        set { image5 = value; }
    }
	
	public News()
	{
	}

    public News(int _id, string _tieuDe, string _noiDung, string _ngayDang, string _nguoiDang, string _nguon, 
        string _image1, string _image2, string _image3, string _image4, string _image5)
    { 
        _id = id;
        _tieuDe = tieuDe;
        _noiDung = noiDung;
        _ngayDang = ngayDang;
        _nguoiDang = nguoiDang;
        _nguon = nguon;
        _image1 = image1;
        _image2 = image2;
        _image3 = image3;
        _image4 = image4;
        _image5 = image5;
    }
}
